FIND_PACKAGE(LibXml2 REQUIRED)
include_directories(${LIBXML2_INCLUDE_DIR})

add_library(fb2 SHARED fb2.h fb2.c)
target_link_libraries(fb2 ${LIBXML2_LIBRARIES})